package labb2.del1;

import java.awt.Color;

/**
 * FillableShape.
 *
 * @author Mikko Puustinen
 * @version 0.1, 2007-sep-30
 */
public abstract class FillableShape extends Shape {
    private boolean isFilled;

    public FillableShape(double x, double y, Color color) {
        super(x, y, color);
    }

    public void toggleFilled() {
        isFilled = !isFilled;
    }

    public boolean isFilled() {
        return isFilled;
    }
}
